<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>流程监控</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body class="bg-gray-50">
    <!-- 顶部统计 -->
    <div class="bg-gradient-to-r from-blue-500 to-blue-600 text-white p-6">
        <div class="flex items-center justify-between mb-6">
            <h1 class="text-xl font-bold">流程监控</h1>
            <div class="flex items-center space-x-3">
                <button class="w-8 h-8 bg-white bg-opacity-20 rounded-full flex items-center justify-center">
                    <i class="fas fa-refresh text-white"></i>
                </button>
                <button class="w-8 h-8 bg-white bg-opacity-20 rounded-full flex items-center justify-center">
                    <i class="fas fa-cog text-white"></i>
                </button>
            </div>
        </div>
        
        <!-- 关键指标 -->
        <div class="grid grid-cols-2 gap-4">
            <div class="bg-white bg-opacity-20 rounded-lg p-4">
                <div class="flex items-center justify-between">
                    <div>
                        <div class="text-2xl font-bold">156</div>
                        <div class="text-blue-100 text-sm">处理中车辆</div>
                    </div>
                    <i class="fas fa-car text-white text-2xl"></i>
                </div>
            </div>
            <div class="bg-white bg-opacity-20 rounded-lg p-4">
                <div class="flex items-center justify-between">
                    <div>
                        <div class="text-2xl font-bold">8</div>
                        <div class="text-blue-100 text-sm">待处理预警</div>
                    </div>
                    <i class="fas fa-exclamation-triangle text-white text-2xl"></i>
                </div>
            </div>
        </div>
    </div>

    <!-- 状态分布图表 -->
    <div class="bg-white p-4 mb-4">
        <div class="flex items-center justify-between mb-4">
            <h3 class="font-semibold text-gray-800">车辆状态分布</h3>
            <span class="text-blue-600 text-sm">实时更新</span>
        </div>
        <div class="space-y-4">
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <div class="w-4 h-4 bg-blue-500 rounded-full mr-3"></div>
                    <span class="text-sm text-gray-600">采购中</span>
                </div>
                <div class="flex items-center">
                    <div class="w-24 bg-gray-200 rounded-full h-2 mr-3">
                        <div class="bg-blue-500 h-2 rounded-full" style="width: 25%"></div>
                    </div>
                    <span class="text-sm font-medium">12辆</span>
                </div>
            </div>
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <div class="w-4 h-4 bg-yellow-500 rounded-full mr-3"></div>
                    <span class="text-sm text-gray-600">检测中</span>
                </div>
                <div class="flex items-center">
                    <div class="w-24 bg-gray-200 rounded-full h-2 mr-3">
                        <div class="bg-yellow-500 h-2 rounded-full" style="width: 15%"></div>
                    </div>
                    <span class="text-sm font-medium">8辆</span>
                </div>
            </div>
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <div class="w-4 h-4 bg-green-500 rounded-full mr-3"></div>
                    <span class="text-sm text-gray-600">过户中</span>
                </div>
                <div class="flex items-center">
                    <div class="w-24 bg-gray-200 rounded-full h-2 mr-3">
                        <div class="bg-green-500 h-2 rounded-full" style="width: 30%"></div>
                    </div>
                    <span class="text-sm font-medium">15辆</span>
                </div>
            </div>
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <div class="w-4 h-4 bg-purple-500 rounded-full mr-3"></div>
                    <span class="text-sm text-gray-600">待出口</span>
                </div>
                <div class="flex items-center">
                    <div class="w-24 bg-gray-200 rounded-full h-2 mr-3">
                        <div class="bg-purple-500 h-2 rounded-full" style="width: 35%"></div>
                    </div>
                    <span class="text-sm font-medium">23辆</span>
                </div>
            </div>
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <div class="w-4 h-4 bg-orange-500 rounded-full mr-3"></div>
                    <span class="text-sm text-gray-600">运输中</span>
                </div>
                <div class="flex items-center">
                    <div class="w-24 bg-gray-200 rounded-full h-2 mr-3">
                        <div class="bg-orange-500 h-2 rounded-full" style="width: 20%"></div>
                    </div>
                    <span class="text-sm font-medium">10辆</span>
                </div>
            </div>
        </div>
    </div>

    <!-- 实时监控 -->
    <div class="bg-white p-4 mb-4">
        <div class="flex items-center justify-between mb-4">
            <h3 class="font-semibold text-gray-800">实时监控</h3>
            <div class="flex items-center">
                <div class="w-2 h-2 bg-green-500 rounded-full mr-2"></div>
                <span class="text-xs text-green-600">系统正常</span>
            </div>
        </div>
        <div class="grid grid-cols-2 gap-4">
            <div class="text-center p-4 bg-green-50 rounded-lg">
                <div class="text-2xl font-bold text-green-600">98%</div>
                <div class="text-xs text-gray-600">系统可用性</div>
            </div>
            <div class="text-center p-4 bg-blue-50 rounded-lg">
                <div class="text-2xl font-bold text-blue-600">2.3s</div>
                <div class="text-xs text-gray-600">平均响应时间</div>
            </div>
            <div class="text-center p-4 bg-purple-50 rounded-lg">
                <div class="text-2xl font-bold text-purple-600">1,234</div>
                <div class="text-xs text-gray-600">今日处理量</div>
            </div>
            <div class="text-center p-4 bg-orange-50 rounded-lg">
                <div class="text-2xl font-bold text-orange-600">15</div>
                <div class="text-xs text-gray-600">在线用户</div>
            </div>
        </div>
    </div>

    <!-- 预警监控 -->
    <div class="bg-white p-4 mb-4">
        <div class="flex items-center justify-between mb-4">
            <h3 class="font-semibold text-gray-800">预警监控</h3>
            <span class="text-red-600 text-sm">8条预警</span>
        </div>
        <div class="space-y-3">
            <div class="flex items-center p-3 bg-red-50 rounded-lg border-l-4 border-red-500">
                <div class="w-8 h-8 bg-red-100 rounded-full flex items-center justify-center mr-3">
                    <i class="fas fa-exclamation-triangle text-red-600 text-xs"></i>
                </div>
                <div class="flex-1">
                    <div class="text-sm font-medium text-gray-800">检测超时预警</div>
                    <div class="text-xs text-gray-500">3辆车检测超过24小时</div>
                </div>
                <span class="text-xs text-red-600">紧急</span>
            </div>
            <div class="flex items-center p-3 bg-orange-50 rounded-lg border-l-4 border-orange-500">
                <div class="w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center mr-3">
                    <i class="fas fa-clock text-orange-600 text-xs"></i>
                </div>
                <div class="flex-1">
                    <div class="text-sm font-medium text-gray-800">过户延期预警</div>
                    <div class="text-xs text-gray-500">5辆车过户资料不齐</div>
                </div>
                <span class="text-xs text-orange-600">注意</span>
            </div>
            <div class="flex items-center p-3 bg-yellow-50 rounded-lg border-l-4 border-yellow-500">
                <div class="w-8 h-8 bg-yellow-100 rounded-full flex items-center justify-center mr-3">
                    <i class="fas fa-ship text-yellow-600 text-xs"></i>
                </div>
                <div class="flex-1">
                    <div class="text-sm font-medium text-gray-800">物流延迟预警</div>
                    <div class="text-xs text-gray-500">2辆车物流信息异常</div>
                </div>
                <span class="text-xs text-yellow-600">提醒</span>
            </div>
        </div>
    </div>

    <!-- 处理效率 -->
    <div class="bg-white p-4 mb-4">
        <div class="flex items-center justify-between mb-4">
            <h3 class="font-semibold text-gray-800">处理效率</h3>
            <span class="text-blue-600 text-sm">本周数据</span>
        </div>
        <div class="space-y-4">
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <i class="fas fa-car text-blue-600 mr-3"></i>
                    <span class="text-sm text-gray-600">平均处理时长</span>
                </div>
                <span class="text-sm font-medium">3.2天</span>
            </div>
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <i class="fas fa-check-circle text-green-600 mr-3"></i>
                    <span class="text-sm text-gray-600">完成率</span>
                </div>
                <span class="text-sm font-medium">94.5%</span>
            </div>
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <i class="fas fa-exclamation-triangle text-orange-600 mr-3"></i>
                    <span class="text-sm text-gray-600">异常率</span>
                </div>
                <span class="text-sm font-medium">2.1%</span>
            </div>
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <i class="fas fa-users text-purple-600 mr-3"></i>
                    <span class="text-sm text-gray-600">活跃用户</span>
                </div>
                <span class="text-sm font-medium">15人</span>
            </div>
        </div>
    </div>

    <!-- 快速操作 -->
    <div class="p-4">
        <div class="grid grid-cols-2 gap-4">
            <button class="bg-blue-600 text-white py-3 rounded-lg font-medium">
                <i class="fas fa-download mr-2"></i>
                导出报告
            </button>
            <button class="bg-green-600 text-white py-3 rounded-lg font-medium">
                <i class="fas fa-bell mr-2"></i>
                设置预警
            </button>
        </div>
    </div>
</body>
</html> 